package com.codedancer.campus.client.api.user.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import lombok.Data;
import org.hibernate.validator.constraints.URL;

@Data
@ApiModel("用户修改头像Ro")
public class UserUpdateAvatarRo {

    @ApiModelProperty("头像地址")
    @NotEmpty(message = "头像地址为空")
    @URL(message = "头像地址错误")
    private String avatar;

}
